home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / VendorSEP.h.z / VendorSEP.h
C/C++ Source or Header  |  2002-10-15  |  4KB  |  137 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /* $XConsortium: VendorSEP.h /main/14 1996/05/21 12:11:50 pascale $ */
  12. /* (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  13. /* (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  14. /* (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  15. /* (c) Copyright 1988 MICROSOFT CORPORATION */
  16. /*
  17.  *  (c) Copyright 1995 FUJITSU LIMITED
  18.  *  This is source code modified by FUJITSU LIMITED under the Joint
  19.  *  Development Agreement for the CDEnext PST.
  20.  *  This is unpublished proprietary source code of FUJITSU LIMITED
  21.  */
  22. #ifndef _XmVendorSEP_h
  23. #define _XmVendorSEP_h
  24.  
  25. #include <Xm/ShellEP.h>
  26. #include <Xm/MwmUtil.h>
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32.  
  33. #ifndef XmIsVendorShellExt
  34. #define XmIsVendorShellExt(w)    XtIsSubclass(w, xmVendorShellExtObjectClass)
  35. #endif /* XmIsVendorShellExt */
  36.  
  37. typedef struct _XmVendorShellExtRec *XmVendorShellExtObject;
  38. typedef struct _XmVendorShellExtClassRec *XmVendorShellExtObjectClass;
  39. externalref WidgetClass xmVendorShellExtObjectClass;
  40.  
  41.  
  42. #define XmInheritProtocolHandler    ((XtCallbackProc)_XtInherit)
  43.  
  44. typedef struct _XmVendorShellExtClassPart{
  45.     XtCallbackProc    delete_window_handler;
  46.     XtCallbackProc    offset_handler;
  47.     XtPointer        extension;
  48.     
  49. #ifdef _SGIMOTIF
  50.     XtPointer    _SG_vendorExtension;
  51. #endif
  52.  
  53. }XmVendorShellExtClassPart, *XmVendorShellExtClassPartPtr;
  54.  
  55. typedef struct _XmVendorShellExtClassRec{
  56.     ObjectClassPart        object_class;
  57.     XmExtClassPart        ext_class;
  58.     XmDesktopClassPart         desktop_class;
  59.     XmShellExtClassPart        shell_class;
  60.     XmVendorShellExtClassPart     vendor_class;
  61. }XmVendorShellExtClassRec;
  62.  
  63. typedef struct {
  64.  XmFontList        default_font_list;
  65.  unsigned char        focus_policy;
  66.  XmFocusData        focus_data;
  67.  unsigned char        delete_response;
  68.  unsigned char        unit_type;
  69.  MwmHints        mwm_hints;
  70.  MwmInfo        mwm_info;
  71.  String            mwm_menu;
  72.  XtCallbackList        focus_moved_callback;
  73.  /*
  74.   * internal fields
  75.   */
  76.  Widget            old_managed;
  77.  Position        xAtMap, yAtMap, xOffset, yOffset;
  78.  unsigned long        lastOffsetSerial;
  79.  unsigned long        lastMapRequest;
  80.  Boolean        externalReposition;
  81.  
  82.  /* mapStyle is an unused field. I'm using this field to keep
  83.   * track of the *font_list resource values. Refer 
  84.   * CheckSetRenderTable in VendorSE.c
  85.   */
  86.  unsigned char        mapStyle;
  87.  
  88.  XtCallbackList        realize_callback;
  89.  XtGrabKind        grab_kind;
  90.  Boolean        audible_warning;
  91.  XmFontList             button_font_list;
  92.  XmFontList             label_font_list;
  93.  XmFontList             text_font_list;
  94.  String            input_method_string;
  95.  String            preedit_type_string;
  96.  unsigned int           light_threshold;
  97.  unsigned int           dark_threshold;
  98.  unsigned int           foreground_threshold;
  99.  unsigned int        im_height;
  100.  XtPointer        im_info;
  101.  Boolean        im_vs_height_set;
  102.  
  103. #ifdef _SGIMOTIF
  104.  XtPointer    _SG_vendorExtension;
  105. #endif
  106.  
  107.  /* New public resources for Motif 2.0 */
  108.  XmDirection            layout_direction;
  109.  XmInputPolicy        input_policy;
  110.  
  111.  Boolean         verify_preedit;
  112. } XmVendorShellExtPart, *XmVendorShellExtPartPtr;
  113.  
  114. externalref XmVendorShellExtClassRec     xmVendorShellExtClassRec;
  115.  
  116. typedef struct _XmVendorShellExtRec{
  117.     ObjectPart            object;
  118.     XmExtPart            ext;
  119.     XmDesktopPart        desktop;
  120.     XmShellExtPart        shell;
  121.     XmVendorShellExtPart     vendor;
  122. } XmVendorShellExtRec;
  123.  
  124.  
  125. /******** Xme Functions ********/
  126.  
  127. void XmeAddFocusChangeCallback(Widget, XtCallbackProc, XtPointer);
  128. void XmeRemoveFocusChangeCallback(Widget, XtCallbackProc, XtPointer);
  129.  
  130. /******** End Xme Functions ********/
  131.  
  132. #ifdef __cplusplus
  133. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  134. #endif
  135.  
  136. #endif  /* _XmVendorSEP_h */
  137.